package etnorservice.etnor_service.service;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2024/11/30/11:28
 **/

import etnorservice.etnor_service.domain.po.Reply;

import java.util.List;

public interface ReplyService {
    // 创建回复
    Reply createReply(Reply reply);

    // 获取评论的回复列表
    List<Reply> getRepliesByCommentId(Long commentId);

    // 更新回复
    Reply updateReply(Reply reply);

    // 删除回复
    void deleteReply(Long id);

    // 获取回复详情
    Reply getReplyById(Long id);

    // 更新回复点赞数
    void updateReplyLikes(Long id, int likesCount);
}
